package com.auction.service;

import com.auction.dto.AdminLoginDTO;
import com.auction.dto.LoginDTO;
import com.auction.pojo.Admin;
import com.auction.pojo.Auction;
import com.auction.pojo.Order;
import com.auction.pojo.PageResult;
import com.auction.pojo.SellerApplication;
import com.auction.pojo.User;
import com.auction.vo.AdminLoginVO;

import java.util.List;
import java.util.Map;

/**
 * 管理员服务接口
 */
public interface AdminService {

    /**
     * 管理员登录
     *
     * @param adminLoginDTO 登录信息
     * @return 管理员信息
     */
    Admin login(AdminLoginDTO adminLoginDTO);

    /**
     * 根据ID查询管理员
     *
     * @param id 管理员ID
     * @return 管理员信息
     */
    Admin getById(Long id);

}